package com.app.mapper.supermarket;

import com.app.model.supermarket.MktPersonModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface MktPersonMapper extends BaseMapper<MktPersonModel> {

    int insert (MktPersonModel mktPerson);


    void update(MktPersonModel mktPerson);

    MktPersonModel getPersonByMid(int mid);

    List<MktPersonModel> select(int id);

    MktPersonModel getModelByMobile(String mobile);

    void updateSkills(MktPersonModel mktPerson);
}
